Installing the Kanzi build environment manually

Before you can build a Kanzi application for your target platforms, set up and configure the Kanzi build environment for your target platforms. The build environment includes tools that the Kanzi build system uses to build your application for your target platforms. Here you can find the information about what you need to install if you want to manually install the build environment for Kanzi applications.

You can find the build definitions for supported platforms in your Kanzi project directory at <KanziWorkspace>/Projects/<ProjectName>/Application/configs/platforms.

When building Kanzi applications for Android, the preferred way of setting up the build environment is to use the Kanzi Build Environment tool. See Installing the Kanzi build environment for Android.

To build and deploy Kanzi applications for platforms other than Windows, you need:

Installing the Kanzi build environment manually

To install the Kanzi build environment manually:

  1. Install Python 3.x:
    1. For example, download and install Python 3.2.
    2. Add Python 3.x installation path (for example,C:\Python32) to your system path.
  2. Install Python 2.7.x.
    For example, download and install Python 2.7.
  3. Install SCons 2.5.1.
    For example, download and install SCons 2.5.1. During the installation select the Python 2.7.x version you installed.
  4. Install Java Development Environment Kit 1.8 or newer (Windows x86, 32-bit version):
    1. Download and install Java Development Environment Kit 1.8 or newer (Windows x86, 32-bit version).
    2. Add %JAVA_HOME%\bin to your system path.
  5. Install Apache Ant 1.9.5 or newer:
    1. Download and install Apache Ant 1.9.5 or newer.
    2. Add %ANT_HOME%\bin to your system path.
  6. If you want to build Kanzi applications for Android:
  7. Set the environment variables for the software you installed. See Setting the Kanzi environment variables.

Setting the Kanzi environment variables

Kanzi Command Prompt and Kanzi Studio build system use the environment variables to build Kanzi applications.

You can set the Kanzi environment variables in these ways:

Set these environment variables:

Viewing the Kanzi environment variables

To view the current Kanzi environment variables, in Kanzi Studio select Edit > User Preferences and in the Advanced tab click Open Build Environment Configuration.

Testing your Kanzi build environment

To test whether your Kanzi build environment works, create a Kanzi application and deploy it to your platform. See Tutorial: Create a simple in-vehicle infotainment application and Deploying Kanzi applications.

See also

Installing the Kanzi build environment for Android

Deploying Kanzi applications to Android

Tutorial: Create a simple in-vehicle infotainment application